﻿namespace SKeeper.Domain.Invoices
{
    using Infrastructure;
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using Warehouse;

    public class Invoice : IEntity
    {
        public int Id { get; set; }

        public string Code { get; set; }

        public DateTime CreationDate { get; set; }

        public DateTime DueDate { get; set; }

        public int WarehouseId { get; set; }

        public bool IsActive { get; set; }

        public InvoiceType InvoiceType { get; set; }

        public virtual Warehouse Warehouse { get; set; }

        public virtual ICollection <StoredItemMovement> ItemsMovement { get; set; }

    }
}
